package graph;

/**
 * The superclass of nodes representing variables. The class has attribute value
 * the iddentifier of the variable.
 * @author Habib
 *
 */

public abstract class VariableNode extends ValueNode
{
	/**
	 * The identifier of the variable
	 */
	public String ID;
	
	/**
	 * @return the iD
	 */
	public String getID() {
		return ID;
	}

	/**
	 * @param iD the iD to set
	 */
	public void setID(String iD) {
		ID = iD;
	}

	public String toString()
	{
		return ID;
	}
}